import type { App } from 'vue';

// 按钮 loading 指令
import btnLoadingDirective from './loading';
// 防抖指令
import debounceDirective from './debounce';
// 节流指令
import throttleDirective from './throttle';
// 复制指令
import copyDirective from './copy';

const directive = (app: App) => {
	btnLoadingDirective(app);
	debounceDirective(app);
	throttleDirective(app);
	copyDirective(app);
};

export default directive;
